* {
    margin: 0;
    padding: 0;
    transition: 0.3s;
    box-sizing: border-box;
    --base-color: #1a255b;
    --font-color: #252525;
}

html,
body {
    scroll-behavior: smooth;

}

/*版心*/
.page-content {
    width: 100vw;
    padding: 0 5vw;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

ul {
    list-style: none;
}

body {
    /*background-color: #ffffff;*/
    width: 100%;
    font-family: '微软雅黑';
    background: url("../images/bg.jpg");
}

/* header*/
.header {
    width: 100%;
    font-weight: 600;
    font-size: 1.1vw;
    letter-spacing: .15vw;
}

#navbar {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 999;
}

.header .wrapper {
    display: flex;
}

.logo {
    width: 15.5vw;
    margin-right: 2vw;
}

.nav-wrapper {
    padding: 2.3vw 0;

}

.nav-wrapper .nav-container {
    align-items: center;
    max-width: 92vw;
    flex-direction: row;
    padding: 0;
    display: flex;
    justify-content: space-between;
    color: #2b2b2b;
    position: relative;
    margin: 0 2.6vw 0 3.6vw;
}


.nav-wrapper .nav-container .nav-l {
    align-items: center;
    display: flex;
}

.nav-wrapper .nav-container .nav-r {
    display: flex;
    box-sizing: border-box;
}


.b-l {
    width: 10vw;
    text-align: center;
    border-radius: 1.2vw;
    margin: auto 1.5vw auto auto;
    transition: width .25s;
}

.nav-wrapper .nav-container button {
    background-color: var(--base-color);
    color: #fff;
    font-size: 0.9vw;
    width: 100%;
    height: 2.2vw;
    border: 0;
    line-height: 1;
    border-radius: 5vw;
    font-weight: 600;
    margin-right: 2.2vw;
    letter-spacing: .125vw;

}

.mine {
    margin-left: 1vw;
    cursor: pointer;
}

.nav-r img {
    width: 2.2vw;
    border-radius: 50%;
}

.nav-wrapper .nav-container .nav {
    display: flex;
    padding: 0 2.6vw 0 0;
}

.nav-wrapper .nav-container .nav a {
    margin-left: 1.5vw;
    list-style: none;
}

.nav-wrapper .nav a {
    color: #2b2b2b;
    text-decoration: none;
    border-radius: 5vw;
    padding: .35vw 1vw;
}

.nav-wrapper .nav a:hover,
.nav-wrapper .nav a.curriculum {
    background-color: #1a245b;
    color: #ffffff;
}

/*侧边栏*/
/* 侧边栏初始状态，隐藏在右侧 */
.side-content {
    background: #f6f6f6;
    width: 25vw;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -25vw; /* 初始位置在右侧完全隐藏 */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: right 0.3s ease; /* 添加动画效果 */
}

/* 侧边栏打开状态 */
.side-content.open {
    right: 0; /* 显示侧边栏 */
}

/* 遮罩层初始状态，隐藏 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998; /* 遮罩层在侧边栏下面 */
}

/* 遮罩层显示状态 */
.overlay.open {
    opacity: 1;
    visibility: visible;
}

/* 确保侧边栏在遮罩层上面 */
.side-content {
    z-index: 999;
}

/*头像部分*/
.avatar-content {
    width: 85%;
    height: 7vw;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 2.5vw;
}

/*头像昵称和编号容器*/
.avatar-nickName-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/*头像图片*/
.avatar-image {
    width: 28%;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 7%;
}


/*头像昵称*/
.avatar-nickName {
    font-size: 1.7vw;
    font-weight: 600;
    letter-spacing: .6vw;
    margin-bottom: .5vw;
}

/*头像编号*/
.avatar-number {
    font-size: 0.6vw;
    color: #fff;
    font-weight: 600;
    width: 90%;
    height: 5%;
    background: #636363;
    text-align: center;
    border-radius: 8%;
    letter-spacing: .1vw;
}

/*我的课程*/
.my-course-content {
    height: 8vw;
    padding: .3vw 1.1vw;
    margin-top: 1.2vw;
}

/*我的课程文字公共部分*/
.my-course-title,
.my-course-en {
    font-weight: 600;
}

/*我的课程标题*/
.my-course-title {
    font-size: 1.3vw;
    letter-spacing: .2vw;
}

/*我的课程英文部分*/
.my-course-en {
    font-size: 0.68vw;
    letter-spacing: .15vw;
}

/*中间部分*/
.middle-content {
    height: 16.7%;
    margin-top: 1.2vw;
    margin-bottom: 1.2vw;
}

/*小列表容器*/
.content-currency {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #dad8d8;
    padding: 2% 1vw;
    cursor: pointer;
}

/*列表标题*/
.content-currency-font {
    font-weight: 600;
    letter-spacing: .3vw;
    font-size: 1vw;
}

/*箭头*/
.icon {
    width: 1.05vw;
    height: 1.05vw;
}

/*底部部分*/
.bottom-content {
    height: 10.3%;
    margin-top: 1vw;
    margin-bottom: 1vw;
}

/*退出登录*/
.login-out-content {
    height: 2.7vw;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #333 !important;
    letter-spacing: .7vw;
    font-size: 1.05vw;
    margin-top: 3.5vw;
    cursor: pointer;
}

/*侧边栏公用部分*/
.my-course-content,
.middle-content,
.bottom-content,
.login-out-content {
    width: 85%;
    background-color: #eaeaea;
    margin-bottom: 2vh;
    border-radius: 0.5vw;
    color: #6a6a6a;
}

.content-currency:hover,
.login-out-content:hover {
    background-color: #dad8d8;

}

/* 保持最上面和最下面容器的圆角 */
.middle-content .content-currency:first-child {
    border-top-left-radius: 0.5vw;
    border-top-right-radius: 0.5vw;
}

.middle-content .content-currency:last-child {
    border-bottom-left-radius: 0.5vw;
    border-bottom-right-radius: 0.5vw;
}

/* 悬浮时的样式，保持圆角不变 */

.bottom-content .content-currency:first-child:hover {
    border-top-left-radius: 0.5vw;
    border-top-right-radius: 0.5vw;
}

.bottom-content .content-currency:last-child:hover {
    border-bottom-left-radius: 0.5vw;
    border-bottom-right-radius: 0.5vw;
}

/*main*/
.main-content {
    width: 100%;
    max-width: 86vw;
    background: #fff;
    height: 25vw;
    margin-top: 10vw;
    border-radius: 1.6vw;
    box-shadow: .1vw .1vw 1vw .1vw rgba(0, 0, 0, 0.2);
    padding: 2.5vw 3.5vw;
    display: flex;
}

.main-content-left {
    width: 50vw;
}

.main-content-title {
    font-size: 3.4vw;
    color: var(--font-color);
    font-weight: bold;
    letter-spacing: .1vw;

}

.main-content-Secondtitle {
    color: #585858;
    font-size: 1.8vw;
    font-weight: 600;
}

.main-content-Thirdtitle {
    color: #4e4e4d;
    font-size: 1.4vw;
    font-weight: 600;
    letter-spacing: .1vw;
    margin-top: 8.2vw;
    margin-bottom: 2vw;
}

.main-content-Thirdtitle img {
    width: 1.6vw;

}

.main-content-border {
    margin: 1.1vw 0;
    width: 7vw;
    height: .5vw;
    background: #1e295e;
}

.main-content-teacher {
    width: 6.8vw;
    margin-top: 7.2vw;
    margin-bottom: 2vw;
    color: #fff;
    font-size: 1.4vw;
    font-weight: 600;
    background: var(--base-color);
    text-align: center;
    padding: .6vw 0vw;
    border-radius: 2vw;
}

.main-content-bottom {
    display: flex;
    justify-content: space-between;
    margin-right: 2vw;
}

.main-content-border-right {
    background: #e7e7e7;
    width: .3vw;
    height: 20vw;
    margin-right: 2vw;
    /*margin: auto;*/
}

/*right*/
.main-content-Fourthtitle {
    font-size: 1.4vw;
    font-weight: 600;
    color: var(--font-color);
    margin: 3vw 0;
}

.main-content-Fourthtitle img {
    width: 1vw;
    margin-right: .6vw;
}

.main-content-right-tiele {
    margin-right: 4vw;
}

/*进度条*/
.main-content-schedule {
    display: flex;
    justify-content: space-between;
}

.main-content-schedule-container {
    position: relative;
    display: flex;
    /*gap: 30px;*/
}

.main-content-schedule-container .box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.main-content-schedule-container .box .circle {
    position: relative;
    width: 15vw;
    height: 15vw;
    background: conic-gradient(from 0deg, var(--clr) 0%, var(--clr) 0% var(--i), #c7c7c7 var(--i), #c7c7c7 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-content-schedule-container .box .circle::before {
    content: '';
    position: absolute;
    inset: 1.2vw;
    background-color: #fff;
    border-radius: 50%;
}

.main-content-schedule-container .box h2 {
    position: relative;
    text-align: center;
    font-size: 2vw;
    color: var(--font-color);
    font-weight: 600;
}

/*tab容器*/
.tabs-content {
    width: 96%;
    height: 3.2vw;
    background: #ffffff;
    border-radius: 200px;
    margin-top: 5vw;
    display: flex;
    flex-wrap: nowrap;
    box-shadow: .1vw .1vw 1vw .1vw rgba(0, 0, 0, 0.2);
    align-items: center;
    justify-content: space-around;
}


/*每个tab小容器*/
.tab-common {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /*background-color: #1a245b;*/
    background-color: #ffffff;
    border-radius: 200px;
    height: 100%;
    flex: 1;
    padding-right: 2vw;
    padding: 0vw 5.5vw;
    cursor: pointer;
    color: var(--base-color);
    transition: all .2s;
}

.tab-active {
    background-color: #1a245b;
    color: #ffffff;
    transition: all .2s;
}

.tab-common:hover {
    background-color: #dad8d8;
}

/*icon*/
.tab-common img {
    width: 1.2vw;
    height: 1.2vw;
    margin-right: 1.5vw;

}

/*tab标题*/
.tab-common-text {
    font-size: 1.3vw;
    font-weight: 600;
    /*letter-spacing: 5vw;*/
}

/*标签内容*/
/*简介内容*/
.bottom-content-bottom {
    margin-top: 2.6vw;
    width: 96%;
    height: auto;
    background: #ffffff;
    box-shadow: .1vw .1vw 1vw .1vw rgba(0, 0, 0, 0.2);
    border-radius: 1.2vw;
    padding: 4vh 2.5vw 10vh 2.5vw;
    margin-bottom: 10vh;
}

.bottom-content-bottom-task {
    margin-top: 2.5vw;
    width: 96%;
    height: auto;
    background: #ffffff;
    box-shadow: .1vw .1vw 1vw .1vw rgba(0, 0, 0, 0.2);
    border-radius: 1.2vw;
    padding: 2vw 2.5vw 2vw 2.5vw;
    margin-bottom: 5vw;
}

/*内容标题*/
.bottom-content-title {
    font-size: 1.8vw;
    font-weight: 600;
    color: var(--font-color);
}

/*内容文字*/
.bottom-content-font {
    margin-top: 1.2vw;
    font-size: 1.4vw;
    color: #252525;
    line-height: 2.8vw;
    font-weight: 600;
}

/*构成概述*/
.bottom-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 96%;
    height: 3vw;
    font-size: 2vw;
    font-weight: 600;
    letter-spacing: .1vw;
    color: var(--font-color);
    padding: 0.6vw;
    margin-top: 2.5vw;
}

.left-blue {
    height: 1.8vw;
    width: .3vw;
    border-radius: 50px;
    background-color: var(--base-color);
    margin-right: .5vw;
}


.expand-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    cursor: pointer;
    border-radius: 1vh;
}

.expand-content:hover {
    background-color: #f6f0f0;
}

.round-dot-content {
    display: flex;
    align-items: center;
    justify-content: center;
}


/*展开箭头*/
.icon {
    /*transform: rotate(180deg);*/
    transition: transform 0.2s linear;
}

.round-dot {
    background-color: var(--base-color);
    height: .8vw;
    width: .8vw;
    border-radius: 50%;
    margin-right: .5vw;
}

.submit-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    /*background: var(--base-color);*/
}

.submit-button {
    background: var(--base-color);
    color: #ffffff;
    width: 4vw;
    height: 1.9vw;
    border-radius: 15vw;
    font-weight: 600;
    letter-spacing: .2vw;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1vw;
}

.bottom-content-input {
    margin-top: 2vh;
    width: 100%;
    height: 20vh;
    border: none;
    background: #f6f6f6;
    border-radius: .5vw;
    padding: 1.6vh 1.6vw;
    resize: none;
    color: var(--font-color);
    font-size: 1.2vw;
}

.bottom-content-input:focus {
    outline: none;
}

.bottom-content-input::placeholder {
    font-weight: 600;
}

.submit-button a{
    text-decoration: none;
    color: #ffffff;
}

.bottom-content-bottom-img {
    width: 70%;
    height: 83%;
    object-position: center;
    margin-top: 6.5vw;
}

.bottom-content-no-active {
    display: none;
    transition: all 0.3s;
}

.bottom-content-active {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.bottom-not-active {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: all .5s ease;
}

.bottom-active {
    max-height: 50vh;
    transition: all .5s ease;
}
